<html>
<head>
<script type="text/javascript">
	function render(content) {
		document.write(content);
		document.close();
	}
</script>		
</head>
<body onload="parent.alert('hi')">
	display
	<div id="contentDiv"></div>	
</body>
</html>